import Router from "koa-router";
import * as ctrl from "../controllers/user";

// 设置路由
export default (router: Router) => {
  router.get("/v1/user/:id", ctrl.getUserById);
};
